(function($) {
	//高版本jquery，需要使用传统的方式浅层进行序列化，来适应jsp提交方式
	$.ajaxSettings.traditional = true;
	//模块化配置
	seajs.config({
		base: "./modules/",
		alias: {
			"ztree" : "plugins/zTree/init.js",
			"layer" : "plugins/layer/init.js",
			"router" : "plugins/tools/router.js",
			"window" : "plugins/tools/window.js",
			"validator" : "plugins/jquery-validator/init.js",
			"form" : "plugins/tools/form.js",
			"loading":"plugins/tools/loading.js",
			"fitdatagrid":"plugins/tools/fitdatagrid.js",
			"modal":"plugins/tools/modal.js",
			"icon":"plugins/fontawesome/css/font-awesome.min.css",
			"layout":"plugins/tools/layout-style.css"
		}
	});
	seajs.use("index", function(index) {
		index.start();
	});
})(jQuery);